#include "Texture.h"
namespace SCION_RENDERING
{
    Texture::Texture()
        : Texture(0, 0, 0, TextureType::NONE)
    {
    }

    Texture::Texture(GLuint id, int widht, int height, TextureType type, const std::string& textuePath)
        : m_TextureID{ id }, m_Width{ widht }, m_Height{ height }, m_eType{ type }, m_sPath{ textuePath }
    {
    }

    void Texture::bind()
    {
        glBindTexture(GL_TEXTURE_2D, m_TextureID);
    }

    void Texture::Unbind()
    {
        glBindTexture(GL_TEXTURE_2D, 0);
    }
}